package com.xjm.bean.init;

import com.xjm.bean.imports.NeedImportBean;
import org.springframework.context.annotation.*;

/**
 * @author jaymin
 * 2020/11/30 20:13
 */
@Configuration
@ComponentScan(value = "com.xjm")
//@Import(NeedImportBean.class)
@EnableAspectJAutoProxy
public class ApplicationConfig {
	public static AnnotationConfigApplicationContext getApplicationContext() {
		return new AnnotationConfigApplicationContext(ApplicationConfig.class);
	}
}
